package stream.part3;

import java.util.Optional;
import java.util.stream.LongStream;
import java.util.stream.Stream;

public class Demo05 {
    public static void main(String[] args) {
        Stream<Integer> integerStream = Stream.of(1, 2, 3, 4, 5, 6);


        LongStream longStream = LongStream.of(1L, 2L, 3L, 4L, 5L);

        longStream.forEach(System.out::println);

    }


}
